<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../struts_taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html lang="true">
<head>  
  <title>旅游计划/明细</title>
  <%@ include file="../link_script.jsp" %>
</head>
<body> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%@include file="../operate_button_add.jsp" %>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#b5d6e6">       
          <tr>
            <td class="STYLE1" bgcolor="#FFFFFF"><table width="100%" border="0" bordercolor="#b5d6e6" cellpadding="0" cellspacing="0">
              <tr>
                <td class="STYLE31" width="15%">&nbsp;&nbsp;计划名称 : </td>
                <td class="STYLE11">${tourismPlan.tpName}</td>
              </tr>
              <tr>
                <td class="STYLE31" width="15%">&nbsp;&nbsp;计划开始/结束日期 : </td>
                <td class="STYLE11">${tourismPlan.beginDate}/${tourismPlan.endDate}</td>
              </tr>
              <tr>
                <td class="STYLE31" width="15%">&nbsp;&nbsp;计划周期/预算 : </td>
                <td class="STYLE31">${tourismPlan.tpDays}&nbsp;天/${tourismPlan.estimate}&nbsp;元
                </td>
              </tr>
              <tr>
                <td class="STYLE31" width="15%">&nbsp;&nbsp;描述 : </td>
                <td class="STYLE11">${tourismPlan.tpDesc}</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table id="theObjTable" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6" onMouseOver="javascript:changeto();" onmouseout="javascript:changeback();">
          <tr>
            <td width="4%" class="tdClass">序号</td>
            <td width="10%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>记账日期</td>
            <td width="25%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>项目名称</td>
            <td width="8%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>类型</td>
            <td width="9%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>花费/￥</td>
            <td width="35%" class="tdClass"><span class="resizeDivClass" onMouseDown=MouseDownToResize(this); onMouseMove=MouseMoveToResize(this); onMouseUp=MouseUpToResize(this);></span>描述</td>
            <td width="*" class="tdClass">...</td>           
          </tr>
          <logic:notEmpty name="list">
          <% int i = 0; %>
            <logic:iterate id="var" name="list">
            <% i++; %>
              <tr>
                <c:if test="${var.date==''}">
                <td class="STYLE42"><%=i %></td>
                <td class="STYLE42"><bean:write name="var" property="date" /></td>
                <td class="STYLE41">&nbsp;<bean:write name="var" property="name" /></td>
                <td class="STYLE42"><bean:write name="var" property="subject" /></td>
                <td class="STYLE43"><bean:write name="var" property="money" />￥&nbsp;</td>
                <td class="STYLE41">&nbsp;<bean:write name="var" property="description" /></td>
                <td class="STYLE42">&nbsp;&nbsp;</td>
                </c:if>
                <c:if test="${var.date!=''}">
                <td class="STYLE12"><%=i %></td>
                <td class="STYLE12"><bean:write name="var" property="date" /></td>
                <td class="STYLE11">&nbsp;<bean:write name="var" property="name" /></td>
                <td class="STYLE12"><bean:write name="var" property="subject" /></td>
                <td class="STYLE13"><bean:write name="var" property="money" />￥&nbsp;</td>
                <td class="STYLE11">&nbsp;<bean:write name="var" property="description" /></td>
                <td class="STYLE12">&nbsp;&nbsp;</td>
                </c:if>
              </tr>
            </logic:iterate>
          </logic:notEmpty>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <%@include file="../no_page.jsp" %>
</table>
</body>
</html:html>
